﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace XSerialization.Tests.Entities
{
    public class Simple
    {
        public int IntProp { get; set; }
        public string StrProp { get; set; }

        public Internal ObjProp { get; set; }
    }

    public class Internal
    {
        public int IntProp { get; set; }
        public string StrProp { get; set; }
    }

    public class Lists
    {
        public List<int> SimpleList { get; set; }
        public Dictionary<string, int> SimpleDict { get; set; }
        
        public List<Simple> ComplexList { get; set; }
    }

    public class SimpleNullObj
    {
        public int? IntNull { get; set; }
        public KeyValuePair<int, int>? ComplexTypeNull { get; set; }
    }

    public class CircularReferenceObj
    {
        public int IntProp { get; set; }
        public CircularReferenceObj Next { get; set; }
    }
}
